package com.xuecheng.learning.client;

import com.xuecheng.framework.client.XcServiceList;
import com.xuecheng.framework.domain.course.TeachplanMediaPub;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author Kidy
 * @date 2020/7/12 10:19
 */
@FeignClient(XcServiceList.XC_SERVICE_SEARCH)
public interface CourseSearchClient {

    @GetMapping("/search/course/getmedia/{id}")
    public TeachplanMediaPub getMeida(@PathVariable("id") String id);
}
